module Tomahawk
  module DirectiveGroups
    class GenericDirectiveGroup < Base
      def to_str(generator = Generators::GenericDirectiveGroup)
        generator.new(self).to_s
      end

      def name
        raise NameError, "Generic directive group found, but no name set – don't know how to proceed"
      end
    end
  end
end
